package yf.mall.vo.down;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class LyDown {

    @ExcelProperty("名称")
    private String name;

//    @ExcelProperty("手机号")
//    private String mobile;

    @ExcelProperty("编号")
    private String code;

    @ExcelProperty("店主")
    private Integer dz;

    @ExcelProperty("达人")
    private Integer dr;

    public LyDown(String name, String code, Integer dz, Integer dr) {
        this.name = name;
        this.code = code;
        this.dz = dz;
        this.dr = dr;
    }

    public void addDz(Integer amount){
        this.dz = this.dz+amount;
    }

    public void addDr(Integer amount){
        this.dr=this.dr+amount;
    }

}
